how identity operators are used in python